package com.citybox.domain.wx;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class LoginRequestDo {

    @NotBlank(message = "微信登录code不能为空")
    @Size(min = 10, max = 100, message = "code长度应在10-100字符之间")
    private String code;

    @Size(max = 2000, message = "encryptedData长度不能超过2000字符")
    private String encryptedData;

    @Size(max = 50, message = "iv长度不能超过50字符")
    private String iv;

    @Size(max = 1000, message = "rawData长度不能超过1000字符")
    private String rawData;

    @Size(max = 100, message = "signature长度不能超过100字符")
    private String signature;

}
